package chat.user;

import java.net.Socket;

public class RequestMessage extends Request {
	
	private String message; 
	private Socket receiver_socket;
	
	public RequestMessage (){
		
	}
	
	public RequestMessage (User user){
		super.abs_user = user;
	}
	
	public String getMessage(){
		
		return  this.message;
		
	}
	public void setMessage(String IncomingMessage){
		
		this.message = IncomingMessage;
		
	}
	
	public void setReceiverSocket(Socket s){
		
		this.receiver_socket = s;
	}
	
	public Socket getReceiverSocket(){
		
		return this.receiver_socket;
	}
	
	public void removeReceiverSocket(){
	
		this.receiver_socket = null;
		
	}
}
